package com.annie.boots.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class ViewController {
    @GetMapping("/test")
    public String testDemo(Model model){
        model.addAttribute("msg","您好，wxp");
        model.addAttribute("link","http://www.baidu.com/");
        return "success";
    }
}
